﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CSS波纹-jq22.com</title>
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<style>
html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: #0A212E;
  margin: 0px;
  overflow: hidden;
  padding: 100px;
}

.waves {
  width: 50px;
  height: 50px;
  background-color: palegreen;
  overflow: hidden;
}

.wave, .waves:before{
  content: "";
  display: block;
  background: #FFFFFF;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-backface-visibility: hidden;
}

.waves:before {
  animation: wave-animate .45s 1 forwards ease-out;
}

@keyframes wave-animate {
  0% {
    transform: scale(0);
    opacity: 1;
    transform-origin: center;
  }
  100% {
    transform: scale(2);
    opacity: 0;
    transform-origin: center;
  }
}
</style>
</head>
<body>
<div class="waves">
  https://www.jq22.com/code2322
</div>

<script>
</script>

</body>
</html>
